//
//  CRBBoxHomeHttp.h
//  ChampsARotate
//
//  Created by 吴凡 on 2018/12/21.
//  Copyright © 2018 Logan.Fan. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GoodsModel.h"
#import "CRBBrandListModel.h"
#import "CRBSeriesInfoModel.h"
#import "MainTopicModel.h"
#import "TopicDetailModel.h"
#import "TaskModel.h"

typedef void (^ResponseSuccess)(NSURLSessionDataTask * task,id responseObject);
typedef void (^ResponseFail)(NSURLSessionDataTask * task, NSError * error, NSString *code, NSString *msg);

NS_ASSUME_NONNULL_BEGIN

@interface CRBBoxHomeHttp : NSObject
/* 添加腕表 */
+ (void)requestAddWatch:(goodVOsModel *)parameterModel customCoverImg:(NSString *)customCoverImg :(ResponseSuccess)success fail:(ResponseFail)fail;
/* 添加自定义腕表 */
+ (void)requestAddCustomWatch:(BrandInfoModel *)brandModel seriesName:(NSString *)seriesName goodsName:(NSString *)goodsName customCoverImg:(NSString *)customCoverImg  success:(ResponseSuccess)success fail:(ResponseFail)fail;

/* 手动添加-品牌列表 */
+ (void)requestBrandListData:(ResponseSuccess)success fail:(ResponseFail)fail;
/* 手动添加-系列列表 */
+ (void)requestSeriesListDataWithBrandId:(NSString *)brandId :(ResponseSuccess)success fail:(ResponseFail)fail;
/* 手动添加-型号列表 */
//+ (void)requestGoodsListDataWithseriesId:(NSString *)seriesId :(ResponseSuccess)success fail:(ResponseFail)fail;
+ (void)requestGoodsListDataWithseriesId:(NSString *)seriesId brandId:(NSString*)brandId :(ResponseSuccess)success fail:(ResponseFail)fail;


/* 话题列表*/
+ (void)requestTopicListWithPage:(NSNumber *)page size:(NSNumber *)size success:(ResponseSuccess)success fail:(ResponseFail)fail;
/* 话题列表 已过期*/
+ (void)requestExpiredTopicListWithPage:(NSNumber *)page size:(NSNumber *)size success:(ResponseSuccess)success fail:(ResponseFail)fail;
/* 话题详情UGC列表*/
+ (void)requestTopicDetailUgcListWithPage:(NSNumber *)page size:(NSNumber *)size sort:(NSNumber *)sort topicId:(NSString *)topicId success:(ResponseSuccess)success fail:(ResponseFail)fail;
/* 话题详情info*/
+ (void)requestTopicDetailWithId:(NSString *)topicId success:(ResponseSuccess)success fail:(ResponseFail)fail;
// 是否达到7天活动要求
+ (void)request7daysTaskWithUserId:(NSString *)userId success:(ResponseSuccess)success fail:(ResponseFail)fail;
// 注册完活动弹窗
+ (void)requestTaskAfterRegistWithUserId:(NSString *)userId success:(ResponseSuccess)success fail:(ResponseFail)fail ;
// 上报服务器已经展示过活动toast
+ (void)requestIsShowTaskToast;
@end

NS_ASSUME_NONNULL_END
